import React, { Component } from 'react';
import {
    NativeModules,
    TouchableHighlight,
    Text,
    View
} from 'react-native';
const sysModule = NativeModules.SystemSettingModule;
export default class Button extends Component {
    openNetWork () {
        sysModule.openNetWork();
    }
    render() {
        return (
            <TouchableHighlight onPress={this.openNetWork}>
               <Text>网络设置</Text>
            </TouchableHighlight>
        );
    }
}
